void MainWindow::DrawChessboard()
{
	QPainter painter(this);
    painter.setBrush(QColorConstants::Svg::pink);
    painter.setPen(QPen(QColor(Qt::red),2));

	for(int i = 0;i<CHESS_COLUMES; i++)
	{
		for (int j = 0; j<CHESS_ROWS; j++)
		{
			painter.drawRect( (i+0.5)*RECT_WIDTH,(j+0.5)*RECT_HEIGHT,RECT_WIDTH,RECT_HEIGHT);
		}
	}
}
